//
//  WJBaseButton.h
//  WJBSApp
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 王景伟. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WJBaseButton : UIButton

@property (nonatomic, assign) CGRect titleRect;

@property (nonatomic, assign) CGRect imageRect;

+ (instancetype)buttonWithTitle:(NSString *)title frame:(CGRect)frame target:(id)target action:(SEL)action;

+ (instancetype)buttonWithTitle:(NSString *)title frame:(CGRect)frame target:(id)target action:(SEL)action dayBgColor:(UIColor *)dayBgColor dayTextColor:(UIColor *)dayTextColor nightBgColor:(UIColor *)nightBgColor nightTextColor:(UIColor *)nightTextColor;

+ (instancetype)buttonWithType:(UIButtonType)buttonType dayBgColor:(UIColor *)dayBgColor dayTextColor:(UIColor *)dayTextColor nightBgColor:(UIColor *)nightBgColor nightTextColor:(UIColor *)nightTextColor;
@end
